#pragma once

#include "global.h"
#include "View.h"
#include "LoadingResourceDefine.h"
#include "TextComponent.h"

class LoadingView : public View
{
private:
	TextComponent textComponent = TextComponent(
		TEXT_POS_X,
		TEXT_POS_Y,
		TEXT_WIDTH,
		TEXT_HEIGHT,
		TEXT_FONT,
		TEXT_COLOR,
		BACKGROUND_COLOR		
	);
public:
	LoadingView() {};
	virtual void init() {};
	virtual void show();
	void setText(const char * text);
    ~LoadingView();
};

